/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package epam_java.telephone.users;

/**
 *
 * @author 1
 */
public class AdminUser extends AbstractUser {
public AdminUser(int userId, String userName, String login, String pass) {
          super(userId, userName, login, pass, Acces.ADMIN);
    }
    

           /**
     * @param login
     *    new user`s login
     * @param name
     *  new user`s name
     * @param pass
     *  new user`s password
     * @param acces 
     *  new user acces
     * @return
     *   true if new user has been added, else false
     */
     boolean addNewUser(String login,String name, long pass,Acces acces){
         
         
         return false;
     }
    /**
     * @param login
     *    new subscriber`s login
     * @param name
     *  new subscriber`s name
     * @param pass
     *  new subscriber`s password
     * @return
     *   true if new user has been added, else false
     */
    boolean addNewSubscriber(String login, String name, long pass){
        return addNewUser(login, name, pass, Acces.SUBSCRIBER);
    }
        /**
     * @param login
     *    new admin`s login
     * @param name
     *  new admin`s name
     * @param pass
     *  new admin`s password
     * @return
     *   true if new user has been added, else false
     */
    boolean addNewAdmin(String login, String name, long pass){
        return addNewUser(login, name, pass, Acces.ADMIN);
    }
    /**
     * @param subscribeId
     * subscriber`s id will be lock
     */
    void lockSubscriber(long subscriberId){

    }    
}
